package com.student.education.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 消费信息表(Consumption)实体类
 *
 * @author makejava
 * @since 2021-10-06 21:56:55
 */
public class Consumption implements Serializable {
    private static final long serialVersionUID = -26835593153339044L;
    /**
     * 唯一Id
     */
    private Integer id;
    /**
     * 消费金额
     */
    private String money;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 消费时间
     */
    private Date date;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

}

